package com.asiainfo.complier.common;

public class OutLineInfo {
	private String methodName;
	private int startPos = -1;
	private int endPos = -1;
	private String returnType;

	private int outLineType = -1;

	public OutLineInfo(int type) {
		this.outLineType = type;
	}

	public OutLineInfo() {
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public int getStartPos() {
		return startPos;
	}

	public void setStartPos(int startPos) {
		this.startPos = startPos;
	}

	public int getEndPos() {
		return endPos;
	}

	public void setEndPos(int endPos) {
		this.endPos = endPos;
	}

	public String getReturnType() {
		return returnType;
	}

	public void setReturnType(String returnType) {
		this.returnType = returnType;
	}

	@Override
	public String toString() {

		return methodName;
	}

	public void setOutLineType(int outLineType) {
		this.outLineType = outLineType;
	}

	public int getOutLineType() {
		return outLineType;
	}

}
